<?php
/**
 * SocialEngine
 *
 * @category   Application_Extensions
 * @package    Page
 * @copyright  Copyright Hire-Experts LLC
 * @license    http://www.hire-experts.com
 * @version    $Id: widgets.php 2010-08-31 16:05 idris $
 * @author     Idris
 */

/**
 * @category   Application_Extensions
 * @package    Page
 * @copyright  Copyright Hire-Experts LLC
 * @license    http://www.hire-experts.com
 */
 
return array(
  array(
    'title' => 'HTML Block',
    'description' => 'Inserts any HTML of your choice.',
    'category' => 'Widgets',
    'type' => 'widget',
    'name' => 'page.html-block',
    'special' => 1,
    'autoEdit' => true,
    'form' => array(
      'elements' => array(
        array(
          'Text',
          'title',
          array(
            'label' => 'Title'
          ),
        ),
        array(
          'Textarea',
          'data',
          array(
            'label' => 'HTML'
        ),
        ),
      ),
    ),
  ),
  array(
    'title' => 'Page Rate',
    'description' => 'Displays the page\'s rate information.',
    'category' => 'Widgets',
    'type' => 'widget',
    'name' => 'rate.widget-rate',
		'defaultParams' => array(
      'title' => 'Page Rate',
  		'titleCount' => false
    ),
  ),
  array(
    'title' => 'Page Activity Feed',
    'description' => 'Displays the page\'s activity feed(wall).',
    'category' => 'Widgets',
    'type' => 'widget',
    'name' => 'page.feed',
  	'defaultParams' => array(
      'title' => 'Updates',
  		'titleCount' => false
    ),
  ),
  array(
    'title' => 'Page Photo',
    'description' => 'Displays the page\'s photo(logo).',
    'category' => 'Widgets',
    'type' => 'widget',
    'name' => 'page.profile-photo',
		'defaultParams' => array(
      'title' => 'Page Photo',
  		'titleCount' => false
    ),
  ),
  array(
    'title' => 'Page Like Status',
    'description' => 'Displays the page\'s `likes` options.',
    'category' => 'Widgets',
    'type' => 'widget',
    'name' => 'like.status'
  ),
  array(
    'title' => 'Page Map',
    'description' => 'Displays the page\'s location on Google Map.',
    'category' => 'Widgets',
    'type' => 'widget',
    'name' => 'page.profile-map',
		'defaultParams' => array(
      'title' => 'Page Map',
  		'titleCount' => false
    ),
  ),
  array(
    'title' => 'Page Note',
    'description' => 'Displays the page\'s note - informative/welcome text, team members are allowed to edit this note.',
    'category' => 'Widgets',
    'type' => 'widget',
    'name' => 'page.profile-note',
		'defaultParams' => array(
      'title' => 'Page Note',
  		'titleCount' => false
    ),
  ),
  array(
    'title' => 'Page Team',
    'description' => 'Displays the page\'s team members.',
    'category' => 'Widgets',
    'type' => 'widget',
    'name' => 'page.profile-admins',
  	'defaultParams' => array(
      'title' => 'Team',
  		'titleCount' => false
    ),
  ),
  array(
    'title' => 'Members Likes This',
    'description' => 'Displays members who liked the page.',
    'category' => 'Widgets',
    'type' => 'widget',
    'name' => 'like.box',
		'defaultParams' => array(
      'title' => 'like_Like Club',
  		'titleCount' => true
    ),
  ),
  array(
    'title' => 'Page Options',
    'description' => 'Displays the page\'s options.',
    'category' => 'Widgets',
    'type' => 'widget',
    'name' => 'page.profile-options',
		'defaultParams' => array(
      'title' => 'Page Options',
  		'titleCount' => false
    ),
  ),
  array(
    'title' => 'Page Info',
    'description' => 'Displays the page\'s detailed information.',
    'category' => 'Widgets',
    'type' => 'widget',
    'name' => 'page.profile-fields',
  	'defaultParams' => array(
      'title' => 'Info',
  		'titleCount' => true
    ),
  ),
	array(
		'title' => 'Search',
		'description' => 'Displays search box.',
		'category' => 'Widgets',
		'type' => 'widget',
		'name' => 'page.search',
		'defaultParams' => array(
      'title' => 'Search',
  		'titleCount' => false
    ),
  ),
	array(
		'title' => 'Tag Cloud',
		'description' => 'Displays tags cloud box.',
		'category' => 'Widgets',
		'type' => 'widget',
		'name' => 'page.tag-cloud',
		'defaultParams' => array(
      'title' => 'Tag Cloud',
  		'titleCount' => false
    ),
  ),
  array(
    'title' => 'Tab Container',
    'description' => 'Adds a container with a tab menu. Any other blocks you drop inside it will become tabs.',
    'category' => 'Widgets',
    'type' => 'widget',
    'name' => 'core.container-tabs',
    'defaultParams' => array(
      'max' => 8
    ),
    'canHaveChildren' => true,
    'childAreaDescription' => 'Adds a container with a tab menu. Any other blocks you drop inside it will become tabs.',
    //'special' => 1,
    'adminForm' => array(
      'elements' => array(
        array(
          'Text',
          'title',
          array(
            'label' => 'Title',
          )
        ),
        array(
          'Select',
          'max',
          array(
            'label' => 'Max Tab Count',
            'description' => 'Show sub menu at x containers.',
            'default' => 8,
            'multiOptions' => array(
              0 => 0,
              1 => 1,
              2 => 2,
              3 => 3,
              4 => 4,
              5 => 5,
              6 => 6,
              7 => 7,
              8 => 8,
              9 => 9,
            )
          )
        ),
      )
    ),
  ),
);